using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class SingLetion <T> where T : class,new ()
{
    public static T instance;
    public static T ins
    {
        get
        {
            if(instance == null)
            {
                instance = new T();
            }
            return instance;
        }
    }
}
